import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
import Index from '../view/Index/Index.vue'
import Login from '../view/Login/Login.vue'
const routes = [

	{
		path: '/',
		name: 'Index',
		component: Index
	},
	{
		path: '/login',
		name: 'Login',
		component: Login
	}

]

const router = new VueRouter({
	routes
})

export default router
